#coding=utf-8
__author__ = 'Meteor'
import os

#全局的url地址
URL = 'http://127.0.0.1:9000'

# 如果ISMOCK的值为True，则上面的url必须是mock servier地址
ISMOCK = False

#全局headers配置
headers = {
    'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.44',
    'Content-Type': 'application/x-www-form-urlencoded'
}

# 定义一个默认的token
TOKEN = '20211114114450'

# 读取工程路径
BASE = os.path.abspath(os.path.dirname(__file__))
# print(BASE)


# 定义日志级别
LOG_LEVER = 10

# 是否开启终端日志
isStream = True

# 是否开启文件日志
isFileLog = True

# 设置随机生成的用户名为英文，也可以设置为zh_CN
localt = 'zh_CN'


# 数据库配置参数
DATABASE = {
    'user':'root',
    'password':'1234',
    'database':'scm',
    'charset':'utf8'
}

# 用例级sql语句
function_sql = []


# class级的sql语句
class_sql = []

# session级sql语句
session = []

# module级sql
modle_sql = [
    "delete from usermodel where account='meteor190';",
    "delete from  scmuser where account='meteor190';"
]
